Skip to main content

Full text of "Wireless"

See other formats

Connect an Arduino to a $7 Bluetooth Serial Module 

Make] Projects 

hhiiilH ho/ 1 !/ tuMaal/ chare r\icf*f\\tat* 

build, hack, tweak, share, discover,- 

Connect an Arduino to a $7 
Bluetooth Serial Module 

Written By: Wolfgang 


• Arduino Uno (1) 

• Bluetooth serial module (1) 


The Arduino microcontroller board is a fantastic starting point for electronic and physical 
computing projects. As the standard Arduino board does not offer any wireless connection, 
such as WLAN or Bluetooth, this project shows how to easily connect a $7 Bluetooth serial 
module to your Arduino. The Bluetooth serial module enables your microcontroller board to 
communicate with every Bluetooth-equipped device, such as laptops, tablet PCs or 

© Make Projects Page 1 of 3 

Connect an Arduino to a $7 Bluetooth Serial Module 

Step 1 — Connect an Arduino to a $7 Bluetooth Serial Module 

• The image shows a $7 Bluetooth 
serial module that you can readily 
find on eBay . It offers 4 pins (5V, 
Ground, RX and TX), that you have 
to connect with the right pins on 
your Arduino Uno board. No 
additional electronic parts are 

Step 2 


• You will need to identify the 5V and 
Ground pins on your Arduino in 
order to provide the power source 
for activating your Bluetooth serial 
module. Connect the Bluetooth 
module's RX pin to the Arduino's 
TX pin. Connect the Bluetooth 
module's TX pin to the Arduino's 
RX pin. 

© Make Projects 

Page 2 of 3 

Connect an 

Arduino to a $7 Bluetooth Serial Module 

Step 3 

• After connecting the Bluetooth serial module to your Arduino you are able to pair the 
Bluetooth module with any Bluetooth-enabled device. Use '1234' as the pairing key. 

• There is no additional library necessary for communication. The Bluetooth module replaces 
a normal serial cable on RX and TX. 

• The Arduino code for writing to the Bluetooth serial module is quite simple: void 

setup ( ) { Serial .begin( 9600 ) ; } void loop() { 
Serial. println( "test") ; delay(lOOO); } 

• For receiving the output on your PC just open a terminal program, or Putty, and connect to 
the COM port of your Bluetooth Serial profile (e.g. COM3 on my PC). 

This document was last generated on 201 2-1 1 -28 03:1 5:59 AM. 

© Make Projects Page 3 of 3